#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <string.h>
 int main()
 {
	 char arr[] = "192.168.6.11@541.1";
	 char* sep = "@.";
	 char* str = NULL;
	 for (str = strtok(arr, sep); str != NULL; str = strtok(NULL, sep))
		{
		   printf("%s\n", str);
		}
	 return 0;
 }